package cn.com.git.workflow.service;

import cn.com.git.common.model.ResultMsg;
import cn.com.git.common.model.ResultPage;
import cn.com.git.workflow.service.dto.WorkFlowConfigDetailDTO;
import cn.com.git.workflow.service.dto.WorkFlowConfigListDTO;
import cn.com.git.workflow.service.dto.WorkFlowConfigSaveDTO;
import cn.com.git.workflow.service.query.WorkFlowConfigListQuery;

/**
* WorkFlowConfig API接口
* @author zhangzhenfu
* @Description
* @date 2020/5/28
*/
public interface WorkFlowConfigService {
    /*=================================*/
    /*============ WorkFlowConfig =============*/
    /*=================================*/
    ResultPage<WorkFlowConfigListDTO> listWorkFlowConfig(WorkFlowConfigListQuery query);
    ResultMsg<WorkFlowConfigDetailDTO> findWorkFlowConfig(Integer id);
    ResultMsg<WorkFlowConfigSaveDTO> addWorkFlowConfig(WorkFlowConfigSaveDTO saveDTO);
    ResultMsg<WorkFlowConfigSaveDTO> editWorkFlowConfig(WorkFlowConfigSaveDTO saveDTO);
    ResultMsg deleteWorkFlowConfig(Integer id);
}
